package chaoyue.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.security.web.DefaultSecurityFilterChain;

@SpringBootApplication
public class SecurityApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context =
                SpringApplication.run(SecurityApplication.class, args);
        // 获取所有的默认Security相关的Filter
        System.out.println(context.getBean(DefaultSecurityFilterChain.class));
    }
}
